package ncku.account.data;

public class Category {
	private String name;
       
    //建構新目錄分類
    public Category(String name) {
        if (name==null)
            throw new IllegalArgumentException();
        this.name = name;
    }
       
    public String getName(){
        return this.name;
    }
    
    public void setName(String name){
    	this.name = name;
    }
}